home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
DO1002.ARJ
/
HALT.SCR
< prev
next >
Wrap
Text File
|
1991-12-13
|
842b
|
22 lines
.pg wi full clr cy
COMMAND NAME»gray«: »%t« HaltScript »ye«
/HALT [{ReturnCode}]
/cw
Stops all script processing and returns »cy«{ReturnCode}»#« to the
operating system. If »cy«{ReturnCode}»#« is not entered, »%t«/HALT»#« will
return the code set by the last »%t«/RETURNCODE»#« command. If no
code is set, the default is »ye«ZERO»#«.
This code can be interrogated by the DOS »gr«ERRORLEVEL»#« "if"
parameter. See the »%t«ReturnCode»#« (»%t«/RETURNCODE»#«) command for
an example.
Because »%t«HaltScript»#« would terminate this tutorial, it is not
included as a demonstration. However, »ye«HALTTEST.SCR»#« and
»ye«HALT.BAT»#« are provided if you wish to try this command.
Execute »ye«HALT.BAT»#« from the DOS command prompt to see the
result.
/ENDEXEC CLEAR